package com.innovation.chengzhangriji.ui.widget;

import android.graphics.Color;
import android.view.View;
import android.widget.TextView;

public class DiscoverTextViewHolder extends DiscoverViewHolder {

    private EmojiTextView textView;

    public DiscoverTextViewHolder(View itemView) {
        super(itemView);
        textView = new EmojiTextView(itemView.getContext());
        textView.setTextSize(15);
        textView.setTextColor(Color.BLACK);
        getContent().addView(textView);
    }

    public void setText(String text) {
        textView.setText(text);
    }
}
